package cn.spingboot.app;

import cn.spingboot.controller.HelloWorldController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan("cn.spingboot.controller")
@EnableAutoConfiguration
public class App {

    public static void main(String[] args) {
        //主函数运行SpringBoot项目  即项目入口
        SpringApplication.run(App.class,args);
    }
}
